package day2;

public class noequal {
    public static void main(String[] args) {
        System.out.println(nosame(50, 20));
    }

    public static int nosame(int a, int b) {
      /*  int max;
        if (a > b) {
            max = a;
        } else {
            max = b;
        }
        return max;*/
        if (a > b) {
            return a;
        } else {
            return b;
        }
    }
}
